package ifmo.compiler.task21.lexer.tokens;

/**
 * Floating token.
 *
 * @author byaminov
 */
public class Floating extends Token<Float> {

    private float value;

    protected Floating(String value) {
        super(TokenType.FLOATING);
        this.value = Float.parseFloat(value);
    }

    public Float getValue() {
        return value;
    }
}
